<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Vue3 Demo</title>
        <script src="https://unpkg.com/vue@3.5.13"></script>
    </head>
    <body>
        <div id="Application">
            <ol>
                <li v-for="(value,key, index) in list" :key="index">
                    {{ key }} : {{ value }}
                </li>
            </ol>
        </div>

        <script>
            const Application = {
                // 数据
                data() {
                    return {
                        list: [
                            {
                                name: "张三",
                                age: 18,
                                number: 100,
                                email: "mailto:hello@example.com"
                            },
                            {
                                name: "李四",
                                age: 19,
                                number: 100,
                                email: "mailto:hello@example.com"
                            },
                            {
                                name: "王五",
                                age: 20,
                                number: 100,
                                email: "mailto:hello@example.com"
                            }
                        ]
                    }
                }
            }
            // 创建应用,挂载到id为Application的元素上
            Vue.createApp(Application).mount('#Application')
        </script>
    </body>
</html>